
function apl = get_apl( luma, block_size )
%GET_APL Summary of this function goes here
%   Detailed explanation goes here
apl = zeros(size(luma)./block_size);
for idx_x = 1:block_size(1)
    for idx_y = 1:block_size(2)
        apl = double(luma(idx_x:block_size(1):end, idx_y:block_size(2):end)) + apl;
    end
end
return;
